/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.factory.simple;

import com.dysm.factory.mode.Car;

/**
 * 简单工厂模式
 * @author xiay
 * @since 2020/12/3 10:09 下午
 */
public class SimpleFactoryClient {

    public static void main(String[] args) {
        Car car1 = CarFactory.createAudi();
        car1.show();
        Car car2 = CarFactory.createBenz();
        car2.show();
    }
}
